import request from "@/utils/request";

class NurseAPI {
   //通过分组获取列表数据
  static GetNurseDayWorksByMouth (data:any) {
    return request<any, any>({
      url: "/api/NurseDayWork/GetNurseDayWorksByMouth",
      method: "get",
      params:data
    });
  }


    //获取字典配置项数据
    static GetDictCol (data:any) {
      return request<any, any>({
        url: "/api/NurseDayWork/GetDictCol",
        method: "get",
        params:data
      });
    }

    //通过主键获取一条数据，用于更新
     static GetNurseDayWorkById (data:any) {
      return request<any, any>({
        url: "/api/NurseDayWork/GetNurseDayWorkById",
        method: "get",
        params:data
      });
    }
//保存一条数据
  static SaveNurseDayWork  (dt:any) {
    return request<any, any>({
      url: "/api/NurseDayWork/SaveNurseDayWork",
      method: "post",
      data:dt
    });
  }
//------------经颅磁----------
//查询在科患者
  static QueryPatientInHospital  (data:any) {
    return request<any, any>({
      url: "/api/PatientInHospital/QueryPatientInHospital",
      method: "get",
      params:data
    });
  }


//保存一个患者
  static SavePatientInHospital (dt:any) {
    return request<any, any>({
      url: "/api/PatientInHospital/SavePatientInHospital",
      method: "post",
      data:dt
    });
  }
//查询经颅磁记录
  static QueryRtmsRecord (dt:any) {
    return request<any, any>({
      url: "/api/RtmsRecord/QueryRtmsRecord",
      method: "post",
      data:dt
    });
  }


//保存一条经颅磁记录
  static SaveRtmsRecords (dt:any) {
    return request<any, any>({
      url: "/api/RtmsRecord/SaveRtmsRecords",
      method: "post",
      data:dt
    });
  }

  //保存一条经颅磁记录
  static DelRtmsRecord (dt:any) {
    return request<any, any>({
      url: "/api/RtmsRecord/DelRtmsRecord",
      method: "post",
      data:dt
    });
  }

}



export default NurseAPI;
 